// 响应接口
export interface DeleteByIdRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: Record<string, unknown>;
}

// 参数接口
export interface QueryParams {
    /* */
    pageNum?: number;

    /* */
    pageSize?: number;
}

// 响应接口
export interface QueryRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: {
        /* */
        id: number;

        /* */
        date: Record<string, unknown>;

        /* */
        trainCode: string;

        /* */
        start: string;

        /* */
        startPinyin: string;

        /* */
        startTime: Record<string, unknown>;

        /* */
        startIndex: number;

        /* */
        end: string;

        /* */
        endPinyin: string;

        /* */
        endTime: Record<string, unknown>;

        /* */
        endIndex: number;

        /* */
        ydz: number;

        /* */
        ydzPrice: number;

        /* */
        edz: number;

        /* */
        edzPrice: number;

        /* */
        rw: number;

        /* */
        rwPrice: number;

        /* */
        yw: number;

        /* */
        ywPrice: number;

        /* */
        createTime: Record<string, unknown>;

        /* */
        updateTime: Record<string, unknown>;
    }[];

    /* */
    total: number;
}

// 参数接口
export interface SaveParams {
    /* */
    id?: number;

    /* */
    date: Record<string, unknown>;

    /* */
    trainCode: string;

    /* */
    start: string;

    /* */
    startPinyin: string;

    /* */
    startTime: Record<string, unknown>;

    /* */
    startIndex: number;

    /* */
    end: string;

    /* */
    endPinyin: string;

    /* */
    endTime: Record<string, unknown>;

    /* */
    endIndex: number;

    /* */
    ydz: number;

    /* */
    ydzPrice: number;

    /* */
    edz: number;

    /* */
    edzPrice: number;

    /* */
    rw: number;

    /* */
    rwPrice: number;

    /* */
    yw: number;

    /* */
    ywPrice: number;

    /* */
    createTime?: Record<string, unknown>;

    /* */
    updateTime?: Record<string, unknown>;
}

// 响应接口
export interface SaveRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: Record<string, unknown>;
}
